package io.renren.softpark.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.softpark.entity.RotationEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * 
 * 
 * @author Cui
 * @email ${email}
 * @date 2020-08-14 09:24:18
 */
@Repository
@Mapper
public interface RotationDao extends BaseMapper<RotationEntity> {

    @Insert("INSERT INTO rotation (ROTATION_ID,COLUMN_ID,ROTATION_ADDR,SORT,IS_ROTATION) VALUES(#{rotationId},#{columnId},#{rotationAddr},#{sort},#{isRotation})")
    public void insertData(RotationEntity rotationEntity);
}
